//    Copyright (C) Kherty.  All rights reserved.
using System;
using System.Collections;
using System.Text;
using System.Windows;

namespace OpenLS.Chart.UI
{
    public class GridLineElement
    {


        public static IEnumerable GetXMajorValues(DependencyObject obj)
        {
            return (IEnumerable)obj.GetValue(XMajorValuesProperty);
        }

        public static void SetXMajorValues(DependencyObject obj, IEnumerable value)
        {
            obj.SetValue(XMajorValuesProperty, value);
        }

        // Using a DependencyProperty as the backing store for XMajorValues.  This enables animation, styling, binding, etc...
        public static readonly DependencyProperty XMajorValuesProperty =
            DependencyProperty.RegisterAttached("XMajorValues", typeof(IEnumerable), typeof(GridLineElement), new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.Inherits));



        public static IEnumerable GetYMajorValues(DependencyObject obj)
        {
            return (IEnumerable)obj.GetValue(YMajorValuesProperty);
        }

        public static void SetYMajorValues(DependencyObject obj, IEnumerable value)
        {
            obj.SetValue(YMajorValuesProperty, value);
        }

        // Using a DependencyProperty as the backing store for YMajorValues.  This enables animation, styling, binding, etc...
        public static readonly DependencyProperty YMajorValuesProperty =
            DependencyProperty.RegisterAttached("YMajorValues", typeof(IEnumerable), typeof(GridLineElement), new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.Inherits ));



    }
}
